﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using TrainigWorkshop.Model;

namespace TrainigWorkshop.Contract
{    
    [ServiceContract]
     public interface IProjectBService
    {
        [OperationContract]
        List<Grade> GetAllClassInfo();
        [OperationContract]
        List<StudentModel> GetAllStudentInfo();
        [OperationContract]
        void InsertStudentInfo(StudentModel student);
        [OperationContract]
        void UpdateStudentInfo(StudentModel student);
        [OperationContract]
        void DeleteStudentInfo(int id);
        [OperationContract]
        StudentModel GetStudentInfoById(int id);
    }
}
